package com.pactera.asmp.server.common.utils;

/**
 * @ProjectName: asmpserver
 * @Package: com.pactera.asmp.server.common.utils
 * @ClassName: IOListener
 * @Author: lvzhiqiang
 * @Description:
 * @Date: 2019/8/26 16:43
 * @Version: 1.0
 */
public interface IOListener<T> {
    public void onCompleted(T result);
    public void onLoding(T readedPart, long current, long length);
    public void onInterrupted();
    public void onFail(String errorMsg);
}

